package com.yang.domain.dto.user;

import com.yang.domain.Captcha;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: 不是菜鸡爱编程
 * @Date: 2024/02/17/22:25
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "RegisterUser", description = "注册用户")
public class RegisterUser implements Serializable {
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "昵称")
    private String nickName;
    @ApiModelProperty(value = "性别(1男、0女)")
    private Integer gender;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "验证码")
    private Captcha captcha;
    @ApiModelProperty(value = "用户身份(0管理员、1货车司机、2货主用户)")
    private Integer isAdmin;
}
